projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7382d17
)
ARM: uniphier: fix CONFIG_SYS_CACHELINE_SIZE when outer cache is on
author
Masahiro Yamada
<
[email protected]
>
Wed, 10 Aug 2016 07:08:46 +0000
(16:08 +0900)
committer
Masahiro Yamada
<
[email protected]
>
Thu, 11 Aug 2016 08:49:44 +0000
(17:49 +0900)
The UniPhier outer cache (L2 cache on ARMv7 SoCs) has 128 byte line
length and its tags are also managed per 128 byte line.
Signed-off-by: Masahiro Yamada <
[email protected]
>
include/configs/uniphier.h
patch
|
blob
|
history
diff --git
a/include/configs/uniphier.h
b/include/configs/uniphier.h
index 2606e53eb91428323246a149551ef9bb999a38e4..9ee125fb702592f0deed8793e8164a1249e7c3e1 100644
(file)
--- a/
include/configs/uniphier.h
+++ b/
include/configs/uniphier.h
@@
-25,7
+25,11
@@
/* #define CONFIG_SYS_ICACHE_OFF */
/* #define CONFIG_SYS_DCACHE_OFF */
+#ifdef CONFIG_CACHE_UNIPHIER
+#define CONFIG_SYS_CACHELINE_SIZE 128
+#else
#define CONFIG_SYS_CACHELINE_SIZE 32
+#endif
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO